<h1>Listing student_ths</h1>

<table>
  <tr>
    <th>Firstname</th>
    <th>Lastname</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @student_ths.each do |student_th| %>
  <tr>
    <td><%= student_th.firstname %></td>
    <td><%= student_th.lastname %></td>
    <td><%= link_to 'Show', student_th %></td>
    <td><%= link_to 'Edit', edit_student_th_path(student_th) %></td>
    <td><%= link_to 'Destroy', student_th, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Student th', new_student_th_path %>
